home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Readers / PES / Install-PES next >
Text File  |  1997-12-06  |  2KB  |  134 lines

  1. ; Protection Encryption System (PES) Main Install Script
  2. ; $VER: PES Install Script v1.00
  3.  
  4. (set @default-dest "SYS:")
  5.  
  6. ; English language
  7.  
  8. (set #PES-location
  9. (cat "Select location to put the PES directory, a "
  10.      "directory will be created."
  11. ))
  12.  
  13. (set #copying-files
  14. (cat "Copying files..."
  15. ))
  16.  
  17. (set #whichone-help
  18. (cat "This is where you select the type of Decryptor that "
  19.      "that you wish to install."
  20. ))
  21.  
  22. (set #help-askbool
  23. (cat "Please select Yes to install the file(s) "
  24.      "or select No so they are not installed. "
  25. ))
  26.  
  27. (set #help-optional
  28. (cat "Choose what types of icon you want to install"
  29. ))
  30.  
  31. (set #data-set
  32. (cat "Select which type of icons you want to install"
  33. ))
  34.  
  35. ;--------------------------------------------------
  36.  
  37. (set dest2    (askdir    (prompt #PES-location)
  38.             (default @default-dest)
  39.             (help @askdir-help)
  40.             )
  41. )
  42.  
  43. (set dest1 (tackon dest2 "PES_v1.00"))
  44. (set dest3 (tackon dest1 "Icons"))
  45. (set dest4 (tackon dest1 "Bin"))
  46. (set dest5 "LIBS:")
  47. (makedir dest1 (infos))
  48. (makedir dest3)
  49. (makedir dest4)
  50.  
  51. (copyfiles
  52.     (source "Install")
  53.     (dest dest2)
  54.     (choices "PES_v1.00.info")
  55.     (infos)
  56.     (help @copyfiles-help)
  57. )
  58.  
  59. (copyfiles
  60.     (source "Install/Bin/")
  61.     (dest dest4)
  62.     (choices "Decryptor")
  63.     (help @copyfiles-help)
  64. )
  65.  
  66. (copyfiles
  67.     (source "Install/Bin/")
  68.     (dest dest4)
  69.     (choices "Decryptor.info")
  70.     (help @copyfiles-help)
  71. )
  72.  
  73. (copyfiles
  74.     (source "Install/Bin/")
  75.     (dest dest1)
  76.     (choices "PES_Encryptor")
  77.     (infos)
  78.     (help @copyfiles-help)
  79. )
  80.  
  81.  
  82.     (set icons_to_install
  83.         (askchoice
  84.             (prompt #data-set)
  85.             (help #whichone-help)
  86.             (choices "4 Colour Standard" "8 Colour MagicWB")
  87.         )
  88.     )
  89.  
  90.     (if (IN icons_to_install 0)
  91.         (
  92.         (copyfiles
  93.             (prompt #copying-files)
  94.             (source "Install/Icons")
  95.             (dest dest1)
  96.             (choices "PES_Encryptor.info")
  97.             (infos)
  98.             (help @copyfiles-help)
  99.         )
  100.         ) 
  101.     )
  102.  
  103. (copyfiles
  104.         (source "Install/Docs/")
  105.         (dest dest1)
  106.         (choices "PES.Guide")
  107.         (infos)
  108.         (help @copyfiles-help)
  109. )
  110.  
  111. (copyfiles
  112.     (source "Install/Icons/")
  113.     (dest dest3)
  114.     (choices "Decryptor.info")
  115.     (help @copyfiles-help)
  116. )
  117.  
  118. (copyfiles
  119.     (source "Install/Libs/")
  120.     (dest dest5)
  121.     (choices "wbstart.library")
  122.     (help @copyfiles-help)
  123. )
  124.  
  125. (copyfiles
  126.     (source "Install/Libs/")
  127.     (dest dest5)
  128.     (choices "dospath.library")
  129.     (help @copyfiles-help)
  130. )
  131.  
  132.  
  133. (set @default-dest dest1)
  134.